<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
</html>

<script>
  function order(a, b, c) {
    let d;
    if (a > b) {
      d = a;
      a = b;
      b = d;
    }
    if (a > c) {
      d = a;
      a = c;
      c = d;
    }
    if (b > c) {
      d = b;
      b = c;
      c = d;
    }
    console.log(a, b, c);
  }

  order(8, 6, 9);
</script>
+
